﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Emoney.Spider.Basic;
using Emoney.Cms.Spider;
using System.Text;

public partial class NewsContent : System.Web.UI.Page
{
    public StringBuilder sbNewsContent = new StringBuilder();
    protected void Page_Load(object sender, EventArgs e)
    {
        int ID = OTO.ToInt(Request["ID"], 0);
        if (ID > 0)
        {
            CmsAccess cAcc = new CmsAccess();
            CmsEnty et = cAcc.NewsContentByID(ID);
            sbNewsContent.AppendLine("<div>");
            sbNewsContent.AppendLine("<div style=\"text-align:center;\"><h2>"+et.TITLE+"</h2></div>");
            sbNewsContent.AppendLine("<div>"+et.CONTENT+"</div>");
            sbNewsContent.AppendLine("源："+et.SOURCE);
            sbNewsContent.AppendLine("</div>");
        }
    }
}
